package com.fbs.wowo.correctRight.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class CorrectRightInfo {

    private String id;

    private String essayId;         //图文ID

    private String author;          //作者

    private String certificateImg;  //证书

    private String worksName;       //作品名称

    private String worksTypeId;     //作品类型ID

    private String belonger;        //归属人名称

    private String belongerCertType; //归属人证书类型

    private String certNum;         //归属人证书号码

    private Date createDate;

    private String blockHeight;

    private String registerId;

    private String chainId;

    private String intro;       //描述

    private String hashValue;

    public String getHashValue() {
        return hashValue;
    }

    public void setHashValue(String hashValue) {
        this.hashValue = hashValue;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getEssayId() {
        return essayId;
    }

    public void setEssayId(String essayId) {
        this.essayId = essayId == null ? null : essayId.trim();
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public String getCertificateImg() {
        return certificateImg;
    }

    public void setCertificateImg(String certificateImg) {
        this.certificateImg = certificateImg == null ? null : certificateImg.trim();
    }

    public String getWorksName() {
        return worksName;
    }

    public void setWorksName(String worksName) {
        this.worksName = worksName == null ? null : worksName.trim();
    }

    public String getWorksTypeId() {
        return worksTypeId;
    }

    public void setWorksTypeId(String worksTypeId) {
        this.worksTypeId = worksTypeId == null ? null : worksTypeId.trim();
    }

    public String getBelonger() {
        return belonger;
    }

    public void setBelonger(String belonger) {
        this.belonger = belonger == null ? null : belonger.trim();
    }

    public String getBelongerCertType() {
        return belongerCertType;
    }

    public void setBelongerCertType(String belongerCertType) {
        this.belongerCertType = belongerCertType;
    }

    public String getCertNum() {
        return certNum;
    }

    public void setCertNum(String certNum) {
        this.certNum = certNum == null ? null : certNum.trim();
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getBlockHeight() {
        return blockHeight;
    }

    public void setBlockHeight(String blockHeight) {
        this.blockHeight = blockHeight == null ? null : blockHeight.trim();
    }

    public String getRegisterId() {
        return registerId;
    }

    public void setRegisterId(String registerId) {
        this.registerId = registerId == null ? null : registerId.trim();
    }

    public String getChainId() {
        return chainId;
    }

    public void setChainId(String chainId) {
        this.chainId = chainId == null ? null : chainId.trim();
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }
}
